package com.neuedu.model.mapper;

import java.util.List;

import com.neuedu.model.po.Candidate;

public interface CandidateMapper {

	public List<Candidate> selectCandidate(int aid,int start,int pageSize);
	
	public List<Candidate> selectCandidateByName(String cname);
	
	public void addCandidate(Candidate candidate);
	
	public Candidate getCandidateById(int cid);
	
	public void updateCandidateHots(int cid);
	
	public void updateCandidateTickets(int cid);
	
	public List<Candidate> getCandidateRank(int aid);
	
	public void updateCandidateGifts(int cid,int dianshu);
}
